home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 April / EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso / EARCD / comm / bbs / citsrc6K05.lha / oldvortex.h < prev    next >
C/C++ Source or Header  |  1996-10-28  |  989b  |  37 lines

  1. /**
  2.   This include is used by vortex.c and vexfind.c
  3.   to ensure a common definition for all vortex checking
  4.   code.
  5.  
  6.   Structure:
  7.   Each File is named by Node Id(Normalized).Room name(normalized).
  8.  
  9.   The data structure maintained is a partial message header.
  10.  
  11. **/
  12.  
  13. #define MAX_VORTEX_SIZE  (20)   /* Maximum of message header info to keep */
  14.  
  15. typedef struct
  16.   {
  17.   label mbsrcId;        /* message ID on system of origin */
  18.   label mbdate ;        /* creation date                  */
  19.   label mbtime ;        /* creation time                  */
  20.   }  MESSAGE_ENTRY_TYPE;
  21.  
  22. typedef struct
  23.   {
  24.   int   index;                      /* Number of entries   */
  25.   int   next_slot;                  /* next free slot      */
  26.   MESSAGE_ENTRY_TYPE  msg_entry[MAX_VORTEX_SIZE];  /* Array msg headers per room */
  27.   } ROOM_ENTRY_TYPE;
  28.  
  29. struct elist
  30.   {
  31.   struct elist *next;
  32.   label room;    /* room with problem */
  33.   label nodeid;  /* nodeid of system  */
  34.   label name;    /* name of system    */
  35.   };
  36.  
  37.